package swd.work.conf_form_fields_detail;

import java.util.Locale;
import java.util.ResourceBundle;
import swd.base.ViewBase;

public class View extends ViewBase{
    public View() {
        super.setDBProperties();

        //此頁是detail(grid)所有顯示由dataview 控制
        //super.setBtnTitle();
        //setMultiLang();
    }

    private String gstrprg_no;
    public String getprg_no() {
        return gstrprg_no;
    }

    public void setprg_no(String pstrParameter) {
        this.gstrprg_no = pstrParameter;
    }

    private String gstrfrm_no;
    public String getfrm_no() {
        return gstrfrm_no;
    }

    public void setfrm_no(String pstrParameter) {
        this.gstrfrm_no = pstrParameter;
    }

    private String gstrDataViewHtml;
    public String getDataViewHtml() {
        return this.gstrDataViewHtml;
    }

    public void setDataViewHtml(String pstrDataViewHtml) {
        this.gstrDataViewHtml = pstrDataViewHtml;
    }
    /*private void setMultiLang() {
        ResourceBundle rbdTitleResource = ResourceBundle.getBundle(
                "swd\\work\\conf_form_fields_detail\\Multi-lang", Locale.getDefault());

        try {
            setPrgTitle(rbdTitleResource.getString("prgTitle"));

        } catch (Exception e) {
            e.printStackTrace();
        }
    }*/

    public String getMessage(String pstrKey) {
        return ResourceBundle.getBundle("swd\\basic\\conf_form_fields_detail\\Multi-lang",
                                        Locale.getDefault()).getString(pstrKey);
    }

    public String[] getSeqno() {
        return seqno;
    }

    public String[] getRw_mode() {
        return rw_mode;
    }

    public String[] getReadonly_yn() {
        return readonly_yn;
    }

    public String[] getProtect_cndt() {
        return protect_cndt;
    }

    public String[] getNot_null_yn() {
        return not_null_yn;
    }

    public String[] getNot_null_cndt() {
        return not_null_cndt;
    }

    public String[] getLog_yn() {
        return log_yn;
    }

    public String[] getLink_kind() {
        return link_kind;
    }

    public String[] getLink_fld() {
        return link_fld;
    }

    public String[] getInit_value() {
        return init_value;
    }

    public String[] getFld_title_e() {
        return fld_title_e;
    }

    public String[] getFld_title_c() {
        return fld_title_c;
    }

    public String[] getFld_no() {
        return fld_no;
    }

    public String[] getFld_max_len() {
        return fld_max_len;
    }

    public String[] getFld_len() {
        return fld_len;
    }

    public String[] getFld_kind() {
        return fld_kind;
    }

    public String[] getFld_hidden_yn() {
        return fld_hidden_yn;
    }

    public String[] getFld_hidden_cndt() {
        return fld_hidden_cndt;
    }

    public String[] getDd_no() {
        return dd_no;
    }

    public void setDd_data(String[] dd_data) {
        this.dd_data = dd_data;
    }

    public void setSeqno(String[] seqno) {
        this.seqno = seqno;
    }

    public void setRw_mode(String[] rw_mode) {
        this.rw_mode = rw_mode;
    }

    public void setReadonly_yn(String[] readonly_yn) {
        this.readonly_yn = readonly_yn;
    }

    public void setProtect_cndt(String[] protect_cndt) {
        this.protect_cndt = protect_cndt;
    }

    public void setNot_null_yn(String[] not_null_yn) {
        this.not_null_yn = not_null_yn;
    }

    public void setNot_null_cndt(String[] not_null_cndt) {
        this.not_null_cndt = not_null_cndt;
    }

    public void setLog_yn(String[] log_yn) {
        this.log_yn = log_yn;
    }

    public void setLink_kind(String[] link_kind) {
        this.link_kind = link_kind;
    }

    public void setLink_fld(String[] link_fld) {
        this.link_fld = link_fld;
    }

    public void setInit_value(String[] init_value) {
        this.init_value = init_value;
    }

    public void setFld_title_e(String[] fld_title_e) {
        this.fld_title_e = fld_title_e;
    }

    public void setFld_title_c(String[] fld_title_c) {
        this.fld_title_c = fld_title_c;
    }

    public void setFld_no(String[] fld_no) {
        this.fld_no = fld_no;
    }

    public void setFld_max_len(String[] fld_max_len) {
        this.fld_max_len = fld_max_len;
    }

    public void setFld_len(String[] fld_len) {
        this.fld_len = fld_len;
    }

    public void setFld_kind(String[] fld_kind) {
        this.fld_kind = fld_kind;
    }

    public void setFld_hidden_yn(String[] fld_hidden_yn) {
        this.fld_hidden_yn = fld_hidden_yn;
    }

    public void setFld_hidden_cndt(String[] fld_hidden_cndt) {
        this.fld_hidden_cndt = fld_hidden_cndt;
    }

    public void setDd_no(String[] dd_no) {
        this.dd_no = dd_no;
    }

    public void setChangeRowNum(String changeRowNum) {
        this.changeRowNum = changeRowNum;
    }

    public void setDataview_row_status(String[] dataview_row_status) {
        this.dataview_row_status = dataview_row_status;
    }

    public void setWillDel(String[] willDel) {
        this.willDel = willDel;
    }

    public String[] getDd_data() {
        return dd_data;
    }

    public String getChangeRowNum() {
        return changeRowNum;
    }

    public String[] getDataview_row_status() {
        return dataview_row_status;
    }

    public String[] getWillDel() {
        return willDel;
    }

    private String[] seqno=null;
    private String[] rw_mode=null;
    private String[] link_fld=null;
    private String[] fld_kind=null;
    private String[] fld_len=null;
    private String[] fld_max_len=null;
    private String[] not_null_yn=null;
    private String[] not_null_cndt=null;
    private String[] fld_no=null;
    private String[] link_kind=null;
    private String[] dd_no=null;
    private String[] dd_data=null;
    private String[] log_yn=null;
    private String[] readonly_yn=null;
    private String[] protect_cndt=null;
    private String[] fld_title_c=null;
    private String[] fld_title_e=null;
    private String[] init_value=null;
    private String[] fld_hidden_yn=null;
    private String[] fld_hidden_cndt=null;
    private String changeRowNum=null;
    private String[] dataview_row_status=null;
    private String[] willDel=null;
    //private String prg_noTitle=null;
    //private String frm_noTitle=null;
}
